package com.eshop.modules.shop.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.shop.service.dto.MaterialGroupDto;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.shop.service.dto.MaterialGroupQueryCriteria;
import com.eshop.modules.shop.domain.MaterialGroup;
import com.eshop.common.service.BaseService;

public interface MaterialGroupService extends BaseService<MaterialGroup>
{
    Map<String, Object> queryAll(final MaterialGroupQueryCriteria criteria, final Pageable pageable);
    
    List<MaterialGroup> queryAll(final MaterialGroupQueryCriteria criteria);
    
    void download(final List<MaterialGroupDto> all, final HttpServletResponse response) throws IOException;
}
